package com.qushiyun.devops.admin;

import org.anyline.util.ConfigTable;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

/**
 * 后台启动类
 *
 * @author geshanzsq
 */
@SpringBootApplication(scanBasePackages = "com.qushiyun.devops", exclude = {MongoAutoConfiguration.class})
@MapperScan("com.qushiyun.devops.**.mapper")
public class DevopsApplication {

    public static void main(String[] args) {
        //ConfigTable.IS_AUTO_SPLIT_ARRAY = false;
        ConfigTable.IS_UPPER_KEY = false;
        ConfigTable.IS_OPEN_TRANSACTION_MANAGER = false;
        ConfigTable.IS_SHOW_SQL = false;
        ConfigTable.IS_SQL_DELIMITER_OPEN = true;
        SpringApplication.run(DevopsApplication.class, args);
    }

}